package com.designPattern.foctory.factory;

/**
 * 这个类用于创建工程
 * @author mxs
 */
public class InstanceFactoryBuilder {
//   public static InstanceFactory getInstanceFactory(String instanceFactoryType){
//       InstanceFactory instanceFactory = null;
//       if (instanceFactoryType.equals(GoodInstanceFactory.class.getName())){
//           instanceFactory = new GoodInstanceFactory();
//       }else if (instanceFactoryType.equals(BadInstanceFactory.class.getName())){
//           instanceFactory = new BadInstanceFactory();
//       }return instanceFactory;
//   }
}
